import requests

# res=requests.get("http://www.baidu.com")
# res.encoding='utf-8'
# print(res.text)

img_url="https://i01piccdn.sogoucdn.com/00488d1c3d71e7fd"
res=requests.get(img_url)
data=res.content
with open("jd.jpg","wb") as f:
    f.write(data)